package com.doxiaopu.students.organization.entity;

import com.doxiaopu.students.component.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description= "团单返利分配信息")
public class OrderRevenueSettings extends BaseEntity {
    private static final long serialVersionUID = 1256649582431600280L;
    @ApiModelProperty(value = "返利分配id")
    private Integer id;
    @ApiModelProperty(value = "社团收益")
    private Integer massOrganizationGains;//社团收益
    @ApiModelProperty(value = "社联收益：")
    private  Integer studentsUnionGains; //社联收益：
    @ApiModelProperty(value = "收益权益id")
    private String profitDistributionId; //收益权益id（主键）：

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getMassOrganizationGains() {
        return massOrganizationGains;
    }

    public void setMassOrganizationGains(Integer massOrganizationGains) {
        this.massOrganizationGains = massOrganizationGains;
    }

    public Integer getStudentsUnionGains() {
        return studentsUnionGains;
    }

    public void setStudentsUnionGains(Integer studentsUnionGains) {
        this.studentsUnionGains = studentsUnionGains;
    }

    public String getProfitDistributionId() {
        return profitDistributionId;
    }

    public void setProfitDistributionId(String profitDistributionId) {
        this.profitDistributionId = profitDistributionId;
    }

    @Override
    public String toString() {
        return "OrderRevenueSettings{" +
                "id=" + id +
                ", massOrganizationGains=" + massOrganizationGains +
                ", studentsUnionGains=" + studentsUnionGains +
                ", profitDistributionId='" + profitDistributionId + '\'' +
                '}';
    }
}
